package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.SystemNotice;
import cn.wolfcode.trip.base.domain.Travel;
import cn.wolfcode.trip.base.domain.TravelCommend;

import java.util.List;

public interface ISystemNoticeService {
    void addMessage(Travel travel);

    void addCommendMessage(TravelCommend travel);

    Integer getNoticeCount(Long userId);

    List<SystemNotice> getNotices(Long userId);

    void changeReadState(Long id);
}
